Skip to content

fix(security): bump fastmcp to >=3.2.4,<4 + clear all open Dependabot advisories (closes #35)#50

Merged
raffelino merged 5 commits into
mainfrom
fix/gh-35-bump-fastmcp-3
Jun 17, 2026
Merged

fix(security): bump fastmcp to >=3.2.4,<4 + clear all open Dependabot advisories (closes #35)#50
raffelino merged 5 commits into
mainfrom
fix/gh-35-bump-fastmcp-3

Conversation

@raffelino

@raffelino raffelino commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #35, and sweeps all open GitHub Dependabot advisories (34 alerts → 16 packages) plus a freshly-published dompurify batch — across every ecosystem. Also standardizes the extension on npm.

Backend (pip — backend/pyproject.toml + uv.lock)

  • fastmcp <3>=3.2.4,<4 (critical/high/medium) — CVE-2026-32871, CVE-2026-27124 + cmd-injection; <4 guards against an untested fastmcp 4.0 in fresh-resolution builds.
  • rf-mcp>=0.31.2 (runs on fastmcp 3.x). gitpython → 3.1.50, python-multipart → 0.0.32, authlib → 1.7.2, lxml → 6.1.1, Mako → 1.3.12, urllib3 → 2.7.0, idna → 3.18.
  • diskcache alert auto-resolves (dropped from the lock with fastmcp 3, along with redis/prometheus/pydocket).

Frontend (npm — frontend/)

  • vitest → 4.1.9 (critical), js-cookie + postcss via audit fix, esbuild pinned >=0.28.1 via overrides (high), dompurify → 3.4.10 (moderate XSS family). → 0 audit vulns, prod build verified.

Extension (npm — extension/)

  • lodash >=4.18.0, serialize-javascript >=7.0.5 via npm overrides (high) + 4 local-only transitive findings cleared. → 0 audit vulns, 64 mocha tests pass.
  • Standardized on npm: removed extension/yarn.lock + the yarn-only resolutions block. Repo is now npm-only across frontend/extension/e2e (backend uses uv) — no more duplicate-lockfile Dependabot alerts.

Not fixed (see _bmad-output/implementation-artifacts/deferred-work.md)

  • starlette GHSA-86qp-5c8j-p5mr (medium): fix is starlette 1.0.1, but the latest FastAPI (0.135.4) still pins starlette 0.x — not reachable without breaking FastAPI. Low real exposure (RBAC is dependency-based; prod behind Host-validating nginx). Revisit when FastAPI adopts starlette 1.x.

Verification

  • ✅ Backend full suite: 2118 passed (incl. auth/SSO under authlib 1.7).
  • ✅ Frontend / extension / e2e: 0 npm-audit vulnerabilities each; frontend prod build green; 64 extension mocha tests pass.
  • ✅ No application .py changed → no lint/type regression.
  • ✅ fastmcp change reviewed by 3 independent adversarial agents.

🤖 Generated with Claude Code

raffelino and others added 2 commits June 15, 2026 20:50
rf-mcp now runs on fastmcp 3.x (verified: rf-mcp 0.31.2 imports + boots its
HTTP server cleanly under fastmcp 3.2.4; RoboScope uses rf-mcp only transitively,
out-of-process over HTTP, and never imports fastmcp directly).

- backend/pyproject.toml: fastmcp <3 -> >=3.2.4,<4, rf-mcp >=0.30.0 -> >=0.31.2
  * >=3.2.4 closes CVE-2026-32871 (SSRF/path-traversal), CVE-2026-27124
    (OAuth-proxy confused deputy) + the cmd-injection, and skips the
    3.0.0-3.2.3 auth-header-leak window
  * <4 keeps an untested fastmcp 4.0 out of fresh-resolution builds
- backend/uv.lock: regenerated -> fastmcp 3.2.4, rf-mcp 0.31.2; drops fastmcp
  2.x baggage (redis, fakeredis, prometheus-client, pydocket, diskcache, ...)
- project-context.md: updated the fastmcp pin note (floor + <4 guard)
- .gitignore: ignore local-only presentation/ deck (licensed fonts + internal SVGs)

Verification: rf-mcp HTTP boot OK under 3.2.4; backend AI suite 187 passed; no
.py source changed (no lint/type regression). Reviewed by 3 adversarial agents.

Closes #35

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Clears the open GitHub Dependabot alerts across all ecosystems on top of the
fastmcp bump.

Backend (pip, backend/pyproject.toml + uv.lock):
- gitpython >=3.1.43 -> >=3.1.50 (high)
- authlib   >=1.6.10 -> >=1.6.12 (resolves 1.7.2; medium)
- python-multipart >=0.0.12 -> >=0.0.27 (resolves 0.0.32; high)
- lxml 6.0.4->6.1.1, Mako 1.3.11->1.3.12, urllib3 2.6.3->2.7.0,
  idna 3.11->3.18 (transitive, relocked)

Frontend (npm, frontend/):
- vitest -> 4.1.9 (critical), js-cookie + postcss via audit fix
- esbuild pinned >=0.28.1 via overrides (high) — prod build verified

Extension (npm + yarn, extension/):
- lodash >=4.18.0, serialize-javascript >=7.0.5 via overrides + resolutions
  (high), both lockfiles synced; also cleared 4 local-only transitive audit
  findings. 64 mocha tests pass.

Not fixed (documented in deferred-work.md):
- starlette GHSA-86qp-5c8j-p5mr (medium): fix is starlette 1.0.1 but FastAPI
  0.135.4 still pins starlette 0.x. Low exposure (RBAC is dependency-based,
  prod behind Host-validating nginx). Revisit when FastAPI supports starlette 1.x.

Verification: backend full suite 2118 passed; frontend prod build green +
0 npm-audit vulns; extension 0 npm-audit vulns + 64 tests pass. No app .py changed.

Refs #35

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@raffelino raffelino changed the title fix(deps): bump fastmcp to >=3.2.4,<4 — close 3 fastmcp 2.x security advisories (#35) fix(security): bump fastmcp to >=3.2.4,<4 + clear all open Dependabot advisories (closes #35) Jun 15, 2026
raffelino and others added 2 commits June 16, 2026 09:34
The extension carried both package-lock.json and yarn.lock; yarn warns about
mixing package managers and Dependabot scanned both (duplicate alerts). The repo
is npm-based everywhere else (frontend, e2e) and no CI uses the extension yarn
lockfile.

- Remove extension/yarn.lock and the yarn-only `resolutions` block (npm
  `overrides` for lodash/serialize-javascript remain authoritative).
- Repo is now npm-only across frontend/extension/e2e (backend uses uv).

Verified: npm audit = 0 vulnerabilities; 64 mocha tests pass.

Refs #35

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New advisory batch published against dompurify <=3.4.8 (IN_PLACE-mode XSS /
sanitization-bypass family, moderate). `npm audit fix` resolves frontend
dompurify 3.4.2 -> 3.4.10. Frontend: 0 npm-audit vulnerabilities; prod build
verified.

Refs #35

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@raffelino raffelino force-pushed the fix/gh-35-bump-fastmcp-3 branch from 5da6636 to 7a51c03 Compare June 16, 2026 07:35
… axis, localized + auto-applied AI fixes

Flow Editor:
- Add EXCEPT / FINALLY palette items and scaffold TRY → EXCEPT → END so a
  TRY block is valid Robot Framework the moment it is added (a bare TRY/END
  was a syntax error and could not be completed via the UI).
- E2E coverage: build IF/ELSE and TRY/EXCEPT through the UI and assert they
  land cleanly in the Code tab, on disk after Save, and across a reload.

Stats:
- Success-rate-over-time chart now renders one slot per calendar day between
  the first and last data point; days without executions keep their width
  and show a faint baseline instead of collapsing the gap (even time axis).

AI failure analysis:
- Run the analysis in the frontend's current i18n language (prose translated,
  code/keywords/patches left verbatim).
- Offer one-click auto-apply of suggested unified-diff patches; the backend
  applies context-first and refuses (422) when hunks no longer match, so a
  stale patch can never corrupt a test.
- Scope the shared analysis to its execution/report so it no longer lingers
  when switching runs; discard it on leave.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@raffelino raffelino merged commit 7b78c0b into main Jun 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump fastmcp to ≥3.2.0 once rf-mcp supports it (3 open security advisories)

1 participant